home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / local / linuxconsole / share / alsa / cards / CMI8738-MC6.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  1.3 KB  |  104 lines

  1. #
  2. # Configuration for the CMI8738 chip with 4/6 multi-channel support
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. CMI8738-MC6.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17. <confdir:pcm/rear.conf>
  18.  
  19. # 2nd DAC
  20. # FIXME: we need a volume attenuator for rear channel.
  21. CMI8738-MC6.pcm.rear.0 {
  22.     @args [ CARD ]
  23.     @args.CARD {
  24.         type string
  25.     }
  26.     type hw
  27.     card $CARD
  28.     device 1
  29. }
  30.  
  31. <confdir:pcm/surround40.conf>
  32.  
  33. CMI8738-MC6.pcm.surround40.0 {
  34.     @args [ CARD ]
  35.     @args.CARD {
  36.         type string
  37.     }
  38.     type hooks
  39.     slave.pcm {
  40.         type hw
  41.         card $CARD
  42.         device 1
  43.     }
  44.     hooks.0 {
  45.         type ctl_elems
  46.         hook_args [
  47.             {
  48.                 name "Four Channel Mode"
  49.                 lock true
  50.                 preserve true
  51.                 value false
  52.             }
  53.         ]
  54.     }
  55. }    
  56.  
  57.  
  58. <confdir:pcm/surround51.conf>
  59.  
  60. CMI8738-MC6.pcm.surround51.0 "cards.CMI8738-MC6.pcm.front.0"
  61.  
  62. <confdir:pcm/iec958.conf>
  63.  
  64. CMI8738-MC6.pcm.iec958.0 {
  65.     @args [ CARD AES0 AES1 AES2 AES3 ]
  66.     @args.CARD {
  67.         type string
  68.     }
  69.     @args.DEV {
  70.         type integer
  71.     }
  72.     @args.AES0 {
  73.         type integer
  74.     }
  75.     @args.AES1 {
  76.         type integer
  77.     }
  78.     @args.AES2 {
  79.         type integer
  80.     }
  81.     @args.AES3 {
  82.         type integer
  83.     }
  84.     type hooks
  85.     slave.pcm {
  86.         type hw
  87.         card $CARD
  88.         device 2
  89.     }
  90.     hooks.0 {
  91.         type ctl_elems
  92.         hook_args [
  93.             {
  94.                 interface PCM
  95.                 name "IEC958 Playback PCM Stream"
  96.                 device 2
  97.                 lock true
  98.                 preserve true
  99.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  100.             }
  101.         ]
  102.     }
  103. }
  104.